package com.yczy365.petmall.ex;

import com.yczy365.petmall.web.ServiceCode;
import lombok.Getter;

public class ServiceException extends RuntimeException {
    @Getter
    private ServiceCode serviceCode;
    public ServiceException(String message,ServiceCode serviceCode) {
        super(message);
        this.serviceCode=serviceCode;
    }


}
